#include <stdio.h>

int main(){
    short i, n;

    printf("This program prints a table of squares.\n");
    printf("Enter number of entries in table: ");
    // 备选的标识符 hd: short, d: int, ld: long int
    scanf("%hd", &n);

    for (i = 1; i <= n; i++){
        // 打印时也要修改相应的标识符
        printf("%30hd%30hd\n", i, i * i);
    }

    return 0;
}
